package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.New;
import cn.wolfcode.trip.base.domain.UserNew;
import cn.wolfcode.trip.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NewMapper {
    int deleteByPrimaryKey(Long id);

    int insert(New record);

    New selectByPrimaryKey(Long id);

    List<New> selectAll();

    int updateByPrimaryKey(New record);

    List<New> selectForList(QueryObject qo);

    New selectByMaxDate(Long id);



}